DrawThemeModelessDialogFrame
NEW WITH THE APPEARANCE MANAGER
Draws a modeless dialog box frame consistent with the current theme.
pascal OSStatus DrawThemeModelessDialogFrame ( const Rect *inRect, ThemeDrawState inState);
inRect
- On input, a pointer to a rectangle.
inState
- A value specifying the state in which the modeless dialog box frame is to be drawn; see "Appearance-Compliant Draw State Constants". The frame can only be drawn as active or inactive; passing
kThemeStatePressed
will result in an error being returned.- function result
- A result code; see "Result Codes".
DISCUSSION
TheDrawThemeModelessDialogFrame
function draws a modeless dialog box frame, like the one drawn by the Dialog Manager. This function may be used to make a custom modeless dialog box Appearance-compliant.SPECIAL CONSIDERATIONS
Make sure Appearance Manager 1.0.1 is present before calling theDrawThemeModelessDialogFrame
function. See "Appearance Manager Gestalt Selector Constants" for details on how to determine if the Appearance Manager is present and what its version is, if so.SEE ALSO
"Control Guidelines" in Mac OS 8 Human Interface Guidelines.